#ifndef WXSIMAGECOMBOEDITORDLG_H
#define WXSIMAGECOMBOEDITORDLG_H

#include <wx/treectrl.h>
#include <wx/sizer.h>
#include <wx/stattext.h>
#include <wx/bmpbuttn.h>
#include <wx/button.h>
#include "scrollingdialog.h"
#include <wx/combobox.h>
#include "../defitems/wxsimagelist.h"
#include <wx/bmpcbox.h>
#include <wx/msgdlg.h>
#include <wx/imaglist.h>
#include <wx/bitmap.h>

class wxsItem;
class wxsImageComboEditorDlg: public wxScrollingDialog {
  public:


    wxsImageComboEditorDlg( wxWindow* parent );
    virtual ~wxsImageComboEditorDlg();
    bool    Execute( wxArrayString &aItems );
    wxStaticText* StaticText10;
    wxStaticText* StaticText9;
    wxBitmapButton* m_pBtnEditItem;
    wxBitmapButton* m_pBtnMoveDown;
    wxButton* m_pBtnOK;
    wxStaticText* StaticText2;
    wxStaticText* StaticText6;
    wxBitmapButton* m_pBtnDeleteItem;
    wxBitmapButton* m_pBtnDeleteAll;
    wxStaticText* StaticText8;
    wxStaticText* StaticText1;
    wxStaticText* StaticText3;
    wxTreeCtrl* m_pTree;
    wxButton* m_pBtnCancel;
    wxStaticText* StaticText5;
    wxStaticText* StaticText7;
    wxBitmapComboBox* m_pCmbImage;
    wxBitmapButton* m_pBtnMoveUp;
    wxBitmapButton* m_pBtnAddItem;
    wxStaticText* StaticText4;
  protected:
    static const long ID_STATICTEXT1;
    static const long ID_TREECTRL1;
    static const long ID_STATICTEXT2;
    static const long ID_BITMAPBUTTON1;
    static const long ID_STATICTEXT3;
    static const long ID_BITMAPBUTTON2;
    static const long ID_STATICTEXT4;
    static const long ID_BITMAPBUTTON3;
    static const long ID_STATICTEXT5;
    static const long ID_BITMAPBUTTON4;
    static const long ID_STATICTEXT6;
    static const long ID_BITMAPBUTTON5;
    static const long ID_STATICTEXT7;
    static const long ID_BITMAPBUTTON6;
    static const long ID_STATICTEXT8;
    static const long ID_STATICTEXT9;
    static const long ID_COMBOBOX1;
    static const long ID_STATICTEXT10;
    static const long ID_BUTTON1;
    static const long ID_BUTTON2;
  private:
    void OnBtnDeleteAllClick( wxCommandEvent& event );
    void OnBtnAddItemClick( wxCommandEvent& event );
    void OnBtnMoveUpClick( wxCommandEvent& event );
    void OnBtnMoveDownClick( wxCommandEvent& event );
    void OnBtnDeleteItemClick( wxCommandEvent& event );
    void OnBtnEditItemClick( wxCommandEvent& event );
    void OnBtnOKClick( wxCommandEvent& event );
    void OnBtnCancelClick( wxCommandEvent& event );
    void OnCmbImageSelect( wxCommandEvent& event );
    void OnTreeSelectionChanged( wxTreeEvent& event );
    wxString            m_ComboName;
    wxString            m_ImageName;
    wxImageList        m_ImageList;
    DECLARE_EVENT_TABLE()
};

#endif
